import { request } from "@/utils/request.js"

// 扫描门禁二维码
export function scanQRcode(code) {
	return request({
		url: '/wxapi/scanQRcode/'+ code,
		method: 'get',
	})
}

//确认开锁
export function unlockPost(code) {
	return request({
		url: '/wxapi/unlock/'+ code,
		method: 'get',
	})
}

//我的订单和包裹查询
export function findCurrentInfoGoods(data) {
  return request({
    url: '/wxapi/findCurrentInfoGoods',
    method: 'post',
    data: data
  })
}


// export function unlockPost(data) {
// 	return request({
// 		url: '/wxapi/unlock',
// 		method: "post",
// 		data
// 	})
// }